//
//  HomeLookNowViewController.m
//  ioschishan
//
//  Created by 马田成 on 2017/8/1.
//  Copyright © 2017年 qianyi. All rights reserved.
//

#import "HomeLookNowViewController.h"

@interface HomeLookNowViewController ()

@end

@implementation HomeLookNowViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self creationView];
    
    
    // Do any additional setup after loading the view from its nib.
}
- (void)creationView{

    [self setTitle:@"谁可以见"];
    UIButton *buttonAdd = [[UIButton alloc] init];
    
    buttonAdd.frame = CGRectMake(DEF_SCREEN_WIDTH - 50, 0, 40, 40);
    [buttonAdd setTitle:@"完成" forState:UIControlStateNormal];
    [buttonAdd setTitleColor:getColor(@"4A4A4A") forState:UIControlStateNormal];
    
    [buttonAdd addTarget:self action:@selector(finishClick) forControlEvents:UIControlEventTouchUpInside];
    
    UIBarButtonItem *rightItme = [[UIBarButtonItem alloc]initWithCustomView:buttonAdd];
    self.navigationItem.rightBarButtonItem = rightItme;
    

}
//完成
- (void)finishClick{

    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
